(set-logic QF_BV)
(declare-fun x () (_ BitVec 1))
(declare-fun y () (_ BitVec 1))
(declare-fun z () (_ BitVec 1))
(assert (= z (bvsub y x)))
(assert (= (_ bv0 1) (ite (= (_ bv0 1) z) (_ bv1 1) (_ bv0 1))))
(assert (= (_ bv0 1) (bvadd y x)))
(check-sat)
(exit)
